﻿using AbstractTheFarm.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;

namespace AbstractTheFarm.SpecificProduct
{
   public class SRfarm: Farm
    {
        public Animal newAnimal()
        {
            Console.WriteLine("新马出生！");
            return new Horse();
        }
        Abstractions.Plant Farm.newPlant()
        {
            Console.WriteLine("水果长成！");
            return new Fruitage();
        }
    }
}
